var o = require("../../utils/api.js");

getApp();

Page({
    data: {
        order: "",
        back: ""
    },
    onLoad: function(t) {
        var n = this, a = t.id, e = t.oid;
        o.getBackMoneyInfo({
            id: a,
            oid: e
        }).then(function(o) {
            n.setData({
                back: o.data.back,
                order: o.data.order
            });
        }), wx.setNavigationBarColor({
            frontColor: wx.getStorageSync("basic").topcolor,
            backgroundColor: wx.getStorageSync("basic").topbg
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    applyAgin: function(o) {
        var t = o.currentTarget.dataset.id, n = o.currentTarget.dataset.gid, a = o.currentTarget.dataset.ossid;
        wx.navigateTo({
            url: "../refund/refundApply?id=" + t + "&gid=" + n + "&ossid=" + a
        });
    }
});